/// Package napi 提供 HarmonyOS N-API 的 Dart 封装，面向 ETS/JSVM 互操作。
library;

export 'package:ffi/ffi.dart' show Arena, using;

export 'src/errors.dart';
export 'src/arkarray.dart';
export 'src/arkimplementer.dart';
export 'src/arkobject.dart';
export 'src/arkreference.dart' hide ProtectedArkReference;
export 'src/arkvalues.dart';
export 'src/lang/lang.dart';
export 'src/nio/nio.dart';
export 'src/third_party/generated_bindings.dart'
    hide NapiBindings, napi_env, napi_value;
export 'src/types.dart'
    hide
        // Prefer FFIGen's napi_status definition
        napi_status,
        // Hide internal helper/result types from public API
        ArkString,
        ArkObject,
        ArkArray,
        NapiClassLookupResult,
        NapiFinalizableHandle,
        NapiObjectRefType,
        NapiPointerResult,
        NapiResult,
        NapiStatusResult;
export 'src/napi.dart' hide ProtectedNapiExtensions, StringMethodsForNapi;
